﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace WLYT.Domain.Entries
{
    ///<summary>
    ///出库箱子
    ///</summary>
    [SugarTable("OutBoxCode")]
    public partial class OutBoxCode
    {
           public OutBoxCode(){

            this.BoxCode =Convert.ToString("");
            this.Export =Convert.ToString("");
            this.OrderNo =Convert.ToString("");
            this.Line =Convert.ToString("");
            this.Lane =Convert.ToString("");
            this.MapCode =Convert.ToString("");
            this.Status =Convert.ToInt32("0");
            this.IsFull_7 =false;
            this.IsFull_13 =false;
            this.IsDelivery =false;
            this.TypeText =Convert.ToString("");
            this.CreateTime =DateTime.Now;

           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
           public int Id {get;set;}

           /// <summary>
           /// Desc:箱码
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string BoxCode {get;set;}

           /// <summary>
           /// Desc:当前位置
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string Export {get;set;}

           /// <summary>
           /// Desc:订单号
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string OrderNo {get;set;}

           /// <summary>
           /// Desc:产线
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string Line {get;set;}

           /// <summary>
           /// Desc:轨道号
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string Lane {get;set;}

           /// <summary>
           /// Desc:地图点位
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string MapCode {get;set;}

           /// <summary>
           /// Desc:状态（0，在位，1：已分配任务，2：已呼叫，3：运输中）
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int Status {get;set;}

           /// <summary>
           /// Desc:7寸已满
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public bool IsFull_7 {get;set;}

           /// <summary>
           /// Desc:13寸已满
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public bool IsFull_13 {get;set;}

           /// <summary>
           /// Desc:是否配送
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public bool IsDelivery {get;set;}

           /// <summary>
           /// Desc:类型信息
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string TypeText {get;set;}

           /// <summary>
           /// Desc:创建时间
           /// Default:DateTime.Now
           /// Nullable:False
           /// </summary>           
           public DateTime CreateTime {get;set;}

           /// <summary>
           /// Desc:到达末端时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? ArriveTime {get;set;}

    }
}
